
import { Component, OnInit } from 'angular2/core';

@Component({
    selector: 'weui-tabbar',
    templateUrl: './app/component/tabbar/tabbar.html'
})

export class TabBarComponent implements OnInit {

    private _selectedPos = 1;

    constructor() { }

    ngOnInit() { }

    switchItem(pos) {
        this._selectedPos = pos;
    }

}